﻿using JSShop.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JSShop.Model
{
    public class OrderQuery : Pagination
    {
        private bool _ShowGiftOrder = true;

        public DateTime? EndDate { get; set; }

        public int? GroupBuyId { get; set; }

        public int? IsPrinted { get; set; }

        public string OrderId { get; set; }

        public int? PaymentType { get; set; }

        public string ProductName { get; set; }

        public RefundStatus RefundState { get; set; }

        public int? RegionId { get; set; }

        public string ShipId { get; set; }

        public int? ShippingModeId { get; set; }

        public string ShipTo { get; set; }

        public bool ShowGiftOrder
        {
            get
            {
                return this._ShowGiftOrder;
            }
            set
            {
                this._ShowGiftOrder = value;
            }
        }

        public int? SourceOrder { get; set; }

        public DateTime? StartDate { get; set; }

        public OrderStatus Status { get; set; }

        public OrderType? Type { get; set; }

        public int? UserId { get; set; }

        public string UserName { get; set; }
    }
}
